package com.iot.ammeter.mapper.web.equipment;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.iot.ammeter.dto.web.equipment.EquipmentModelDTO;
import com.iot.ammeter.entity.web.equipment.EquipmentModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 设备型号 Mapper 接口
 * </p>
 *
 * @author basil
 * @since 2021-09-25
 */
@Mapper
public interface EquipmentModelMapper extends BaseMapper<EquipmentModel> {

    /**
     * 获取设备型号列表
     *
     * @param pages 页码
     * @return IPage
     */
    IPage<EquipmentModelDTO> listEquipmentModel(Page<EquipmentModelDTO> pages);
}
